package com.baizhi.dao;

import com.baizhi.entity.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryDao {
    int insertCategory(Category c);
    int updateCategory(Category c);
    List<Category> selectAllCategory();
    List<Category> selectCategoryByCondition(@Param("start") Integer start, @Param("pageSize") Integer pageSize);
    int totalCategory();
    Category selectById(Integer id);
}
